#pragma once
#include "TesInclude.h"
#include "TesConfig.h"
#include "TesTokenStream.h"


class TES_EXPORT TesParserBase
{
public:
	TesParserBase( const TesConfig & config, TesTokenStream & tokens );

	virtual bool						Parse() = 0;

protected:
	const TesConfig &					GetConfig() const								{ return mConfig; }
	TesTokenStream &					GetTokens() const								{ return mTokens; }

private:
	const TesConfig &					mConfig;
	TesTokenStream &					mTokens;
};